<template>
  <div>
    <div class="a">momey page a:{{$store.state.money.money}}</div>
    <button @click="add(2)">momey add</button>
    <button @click="reduce">momey reduce</button>
  </div>
</template>

<script>
import { mapActions } from 'vuex'
export default {
  methods: mapActions('money', ['add', 'reduce'])
}
</script>

<style>
</style>
